package org.nod.atgm.gameobjects;

import java.util.ArrayList;
import java.util.List;

import com.threed.jpct.CollisionEvent;
import com.threed.jpct.CollisionListener;

public abstract class TexturedGameObject extends AbstractGameObject {
	
//	List<CollisionListener> collisionListeners = new ArrayList<CollisionListener>();
//	
//	public void addCollisionListener(CollisionListener collisionListener){
//		collisionListeners.add(collisionListener);
//	}
//	
//	public void removeCollisionListener(CollisionListener collisionListener) {
//		collisionListeners.remove(collisionListener);
//	}
//	
//	protected void fireCollisionEvent(CollisionEvent collisionEvent) {
//		for (CollisionListener listener : collisionListeners) {
//			listener.collision(collisionEvent);
//		}
//	}

	public void setTexture(String textureId) {
		gameObject.setTexture(textureId);
	}
	
	public abstract void handleTimer(int time);

}
